-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[improve][jdbc] Add time handling support #24773
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Thanks for the contribution @omrifried. There are checkstyle errors. Configuring code style and checkstyle in IntelliJ will help address those. Please check the guide at https://pulsar.apache.org/contribute/setup-ide/#configure-code-style . You can run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be useful to add integration tests to ensure that the functionality works end-to-end with databases. There's currently https://github.com/apache/pulsar/blob/master/tests/integration/src/test/java/org/apache/pulsar/tests/integration/io/sinks/JdbcPostgresSinkTester.java for Postgres. It might be better to add a new integration test class for testing time handling.
There's some advice in developing and running integration tests locally in #24924 (comment) and in https://github.com/apache/pulsar/tree/master/tests#readme .
| throw new IllegalArgumentException("Container nodes are not supported, the JSON must contains only " | ||
| + "first level fields."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this removed in this PR?
Main Issue: #23109
Motivation
Modifications
Verifying this change
This change added tests and can be verified as follows:
Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes
Documentation
docdoc-requireddoc-not-neededdoc-complete